﻿using System;
using System.Collections.Generic;
using System.Text;
using Zhaoxi.Mobile.Models;

namespace Zhaoxi.Mobile.ViewModels
{
    public class MainViewModel
    {
        public List<AlarmModel> AlarmList { get; set; } =
            new List<AlarmModel>();

        public MainViewModel()
        {
            for (int i = 0; i < 18; i++)
                AlarmList.Add(new AlarmModel()
                {
                    Index = i + 1,
                    Time = DateTime.Now.ToString("yyMMddHHmm"),
                });
        }
    }
}
